<div class="admin_nrtop">
    <div class="ad_search" style="font-size: 24px;">
       首页公告
    </div>
</div>
<script type="text/javascript">
    <?php if($this->ok == 1) { ?>
        alert("修改成功！");
        location.href="/admini/banner/gonggao";
    <?php }?>
</script>
<div  class="biaoge">
     <div class="table">
        <form method="post" >
         <table>
                <tr>
                    <td align="right">称呼：</td>
                    <td><input type="text" id="title" name="title" value="<?php if($this->banner) echo  $this->banner->title;?>" style="width:300px;"/></td>
                </tr>
                <tr>                        
                    <td align="right">内容：</td>                    
                    <td>
                     <textarea name="url" rows="10" cols="50"><?php if($this->banner) echo  $this->banner->url;?></textarea>
                </td>
                </tr>
                <tr>
                   <td align="right">是否显示：</td>
                    <td><select id="order" name="order">

                            <option value="1" >显示</option>
                            <option value="0" <?php if($this->banner && !$this->banner->order) echo 'selected';?>>不显示</option>
                        </select></td>
                </tr>
                   
                    <tr>
                        <td align="right">                                              
                        </td>
                        <td align="left">
                            <input type="submit" id="navigationAdd" value="添加" style="background-color: #F60;width: 100px;height: 36px;color: white;font-size: 16px;border-radius:8px;"/>
                        </td>
                    </tr>
                </table>
                </form>
     </div>
 </div>
